package cn.ift8.h.domain.one2many.doubleWay;

import java.io.Serializable;
import java.util.Set;

/**
 * Created by ZJI on 2015/8/7.
 */
public class Classes implements Serializable {
    private Long cid;
    private String cname;
    private Set<Student> students;


    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Set<Student> getStudents() {
        return students;
    }

    public void setStudents(Set<Student> students) {
        this.students = students;
    }
    @Override
    public String toString() {
        return "Classes{" +
                "cId=" + cid +
                ", cName='" + cname + '\'' +
                ", students=" + students +
                '}';
    }
}
